package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADScreenRelGroupDao;
import com.letfox.ad.model.ADScreenRelGroup;
import com.letfox.ad.service.AdScreenRelGroupService;
@Service
public class AdScreenRelGroupServiceImpl implements AdScreenRelGroupService {
	@Autowired
	private ADScreenRelGroupDao aDScreenRelGroupDao;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return aDScreenRelGroupDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ADScreenRelGroup record) {
		return aDScreenRelGroupDao.insert(record);
	}

	@Override
	public ADScreenRelGroup selectByPrimaryKey(Long id) {
		return aDScreenRelGroupDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(ADScreenRelGroup record) {
		return aDScreenRelGroupDao.updateByPrimaryKey(record);
	}
}
